#include <libgen.h>
#include <stdio.h>


int main()
{


	char          *p="./hello.c";
	printf("no basename:%s\n",p);
	printf(" basename:%s\n",basename(p));
	return 0;
}
